#ifndef INCLUDED_CHARACTERIDLE_H
#define INCLUDED_CHARACTERIDLE_H

#include<SGE.h>
using namespace SGE;

class Map;

class CharacterIdle
{
public:
	CharacterIdle();
	~CharacterIdle();


	void Load();
	void Unload();
	void Update(float deltaTime,const Map& map);
	void Render(const SVector2& viewOffset);

	void SetPosition(const SVector2& pos) { mPosition = pos; }
	const SVector2& GetPosition() const   { return mPosition; }
	void Play();
	void Stop();

private:
	SGE_Sprite mSprite;
	SVector2 mPosition;
};

#endif // #ifndef INCLUDED_CHARACTERIDLE_H